<?php

namespace app\controller;

use app\BaseController;
use think\facade\Db;

class Index extends BaseController
{
    public function index()
    {
        $data = Db::name('account')->select();
        return json(['status' => true, 'datas' => $data]);
    }
}
